import Layout from '@/layout'
export default {
  path: '/subject',
  component: Layout,
  redirect: '/subject/subject',
  name: 'subject',
  meta: { title: '学科管理', icon: 'xueke' },
  children: [
    {
      path: 'subject',
      name: 'Subject',
      component: () => import('@/views/subject/subject/index'),
      meta: { title: '学科信息', icon: 'nested' }
    },
    {
      path: 'directory',
      name: 'directory',
      component: () => import('@/views/subject/directory/index'),
      meta: { title: '目录信息', icon: 'table' }
    },
    {
      path: 'tag',
      name: 'tag',
      component: () => import('@/views/subject/tag/index'),
      meta: { title: '标签信息', icon: 'biaoqian' }
    }

  ]
}
